with open("aaa.png","rb")as srcFile ,open("bbb.png","wb")as destFile:
    for line in srcFile:
        destFile.write(line)